<!--@IMPORT:header@-->
<div id="profile">
<h1>Your details</h1>

<!--@ERROR@-->
<!--@RESPONSE@-->

<form method="post" action="<!--@SITE_URL@-->?page=profile">
<table>
<tr><td>username:</td><td><!--@USER_USERNAME@--></td></tr>
<tr><td>email:</td><td><input type="text" name="email" value="<!--@USER_EMAIL@-->" /></td></tr>
<tr><td>home coordinates:</td><td><!--@USER_HOME_LAT@-->, <!--@USER_HOME_LON@--></td></tr>
<tr><td>password:</td><td><input type="password" name="password" /></td></tr>
<tr><td>confirm password:</td><td><input type="password" name="password_confirm" /></td></tr>
<tr><td><input type="submit" name="submit" value="Update" /></td><td>&nbsp;</td></tr>
</table>
</form>

<hr />
<h1>Your devices</h1>
<!--@DEVICES@-->

<form method="post" action="<!--@SITE_URL@-->?page=profile&edit_device=<!--@DEVICE_ID@-->">
<p><h3><!--@DEVICE_ACTION@--> device</h3>
<input type="hidden" name="device_id" value="<!--@DEVICE_ID@-->" />
Device Description: <input type="text" name="device_description" value="<!--@DEVICE_DESCRIPTION@-->" /><br />
Userkey: <input type="text" name="device_userkey" value="<!--@DEVICE_USERKEY@-->" /><br />
<input type="submit" name="submit" value="<!--@DEVICE_ACTION@-->" />
</p>
</form>
</div>
<!--@IMPORT:footer@-->
